package com.yeyv.net.Web.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yeyv.net.Web.Utils.BaseYvEntity;
import lombok.Data;

@Data
@TableName("open_code")
public class OpensourceCalendarEntity extends BaseYvEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String version;

    private String fileName;

    private String filePath;

    private Integer baseId;

    private Integer dir;

    public OpensourceCalendarEntity() {
    }

    public OpensourceCalendarEntity(String version, String fileName, String filePath, int baseId, int dir) {
        this.version = version;
        this.fileName = fileName;
        this.filePath = filePath;
        this.baseId = baseId;
        this.dir = dir;
    }
}
